package com.ruoyi.xh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.xh.domain.XhOrderInvoice;

/**
 * 订单发票Service接口
 * 
 * @author songjw
 * @date 2024-12-13
 */
public interface IXhOrderInvoiceService extends IService<XhOrderInvoice> {
    /**
     * 查询订单发票
     * 
     * @param id 订单发票主键
     * @return 订单发票
     */
     XhOrderInvoice selectXhOrderInvoiceById(Long id);

    /**
     * 查询订单发票列表
     * 
     * @param xhOrderInvoice 订单发票
     * @return 订单发票集合
     */
    Page<XhOrderInvoice> selectXhOrderInvoiceList(XhOrderInvoice xhOrderInvoice);

    /**
     * 新增订单发票
     * 
     * @param xhOrderInvoice 订单发票
     */
     void insertXhOrderInvoice(XhOrderInvoice xhOrderInvoice);

    /**
     * 修改订单发票
     * 
     * @param xhOrderInvoice 订单发票
     */
    void updateXhOrderInvoice(XhOrderInvoice xhOrderInvoice);

    /**
     * 批量删除订单发票
     * 
     * @param ids 需要删除的订单发票主键集合
     */
    void deleteXhOrderInvoiceByIds(Long[] ids);
}
